package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 丝绸文物表
 * </p>
 *
 * @author lizhiguo123
 * @since 2018-04-27
 */
@TableName("silk_relics")
public class Relics extends Model<Relics> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 序号
     */
    private String serialnum;
    /**
     * 名称
     */
    private String name;
    /**
     * 年代
     */
    private String coldate;
    /**
     * 长度
     */
    private BigDecimal length;
    /**
     * 宽度
     */
    private BigDecimal width;
    /**
     * 高度
     */
    private BigDecimal height;
    /**
     * 发现时间
     */
    private String discoverdate;
    /**
     * 发现地点
     */
    private String discoversite;
    /**
     * 馆藏地点
     */
    private String colsite;
    /**
     * 馆藏编号
     */
    private String colnum;
    /**
     * 文物描述
     */
    private String coldescription;
    /**
     * 经线
     */
    private Integer wrap;
    /**
     * 纬线
     */
    private Integer weft;
    /**
     * 经纬组织
     */
    private String organization;
    /**
     * 织物分析
     */
    private String fabricanalysis;
    /**
     * 绣法
     */
    private String embroidery;
    /**
     * 织法
     */
    private String weave;
    /**
     * 染法
     */
    private String dyeing;
    /**
     * 关键词
     */
    private String keywords;
    /**
     * 参考文献
     */
    private String reference;
    /**
     * 备注
     */
    private String notes;
    /**
     * 图片
     */
    private String picture;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSerialnum() {
        return serialnum;
    }

    public void setSerialnum(String serialnum) {
        this.serialnum = serialnum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColdate() {
        return coldate;
    }

    public void setColdate(String coldate) {
        this.coldate = coldate;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public BigDecimal getWidth() {
        return width;
    }

    public void setWidth(BigDecimal width) {
        this.width = width;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public String getDiscoverdate() {
        return discoverdate;
    }

    public void setDiscoverdate(String discoverdate) {
        this.discoverdate = discoverdate;
    }

    public String getDiscoversite() {
        return discoversite;
    }

    public void setDiscoversite(String discoversite) {
        this.discoversite = discoversite;
    }

    public String getColsite() {
        return colsite;
    }

    public void setColsite(String colsite) {
        this.colsite = colsite;
    }

    public String getColnum() {
        return colnum;
    }

    public void setColnum(String colnum) {
        this.colnum = colnum;
    }

    public String getColdescription() {
        return coldescription;
    }

    public void setColdescription(String coldescription) {
        this.coldescription = coldescription;
    }

    public Integer getWrap() {
        return wrap;
    }

    public void setWrap(Integer wrap) {
        this.wrap = wrap;
    }

    public Integer getWeft() {
        return weft;
    }

    public void setWeft(Integer weft) {
        this.weft = weft;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getFabricanalysis() {
        return fabricanalysis;
    }

    public void setFabricanalysis(String fabricanalysis) {
        this.fabricanalysis = fabricanalysis;
    }

    public String getEmbroidery() {
        return embroidery;
    }

    public void setEmbroidery(String embroidery) {
        this.embroidery = embroidery;
    }

    public String getWeave() {
        return weave;
    }

    public void setWeave(String weave) {
        this.weave = weave;
    }

    public String getDyeing() {
        return dyeing;
    }

    public void setDyeing(String dyeing) {
        this.dyeing = dyeing;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Relics{" +
        "id=" + id +
        ", serialnum=" + serialnum +
        ", name=" + name +
        ", coldate=" + coldate +
        ", length=" + length +
        ", width=" + width +
        ", height=" + height +
        ", discoverdate=" + discoverdate +
        ", discoversite=" + discoversite +
        ", colsite=" + colsite +
        ", colnum=" + colnum +
        ", coldescription=" + coldescription +
        ", wrap=" + wrap +
        ", weft=" + weft +
        ", organization=" + organization +
        ", fabricanalysis=" + fabricanalysis +
        ", embroidery=" + embroidery +
        ", weave=" + weave +
        ", dyeing=" + dyeing +
        ", keywords=" + keywords +
        ", reference=" + reference +
        ", notes=" + notes +
        ", picture=" + picture +
        "}";
    }
}
